package com.ineatconseil.yougo.client.ui.main.application.tabs.requestsValidationMngt;

import com.google.gwt.activity.shared.AbstractActivity;
import com.google.gwt.event.shared.EventBus;
import com.google.gwt.place.shared.Place;
import com.google.gwt.user.client.ui.AcceptsOneWidget;
import com.ineatconseil.yougo.client.ui.common.ClientFactory;

/**
 * @author Benjamin Barbier - Ineat Conseil
 */
public class RequestsValidationActivity extends AbstractActivity implements IRequestsValidationView.Presenter {

	private final ClientFactory clientFactory;
	
	public RequestsValidationActivity(RequestsValidationPlace place, ClientFactory clientFactory) {
		this.clientFactory = clientFactory;
		//TODO: do something with the place
	}
	
	@Override
	public void start(AcceptsOneWidget panel, EventBus eventBus) {
		System.out.println("RequestsValidationActivity - start()");
		// TODO Auto-generated method stub
	}
	
	@Override
	public void goTo(Place place) {
		clientFactory.getPlaceController().goTo(place);
	}

}
